import os, sys, tempfile, copy, re
from subprocess import *

class mode:
    def __init__(self, mode, description = "", input_type = None, output_type = None):
        self.mode = mode
        self.description = description
        self.input_type = input_type
        self.output_type = output_type

        self.parameters = []
        self.params = {}

    def add_parameters(self, parameters):
        self.parameters.append(parameters)
